<%--
  Created by IntelliJ IDEA.
  User: owner
  Date: 2018-08-03
  Time: 23:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="../../include/back/BackHeader.jsp"%>
<%@include file="../../include/back/BackNavigator.jsp"%>
<title>编辑分类</title>
<div class="Back_categoryedit">
    <span class="label label-info Back_categorylist_tab">分类信息</span>
    <div class="panel panel-default">
        <div class="panel-heading">编辑分类</div>
        <div class="panel-body">
            <form  action="admin_category_update" method="post" id="category_Nform" enctype="multipart/form-data">
                <table class="editTable">
                    <tr>
                        <td>
                            <input type="hidden" name="category_id" value="${category.id}">
                        </td>
                    </tr>
                    <tr>
                        <td> <label for="category_Nname">分类名称</label></td>
                        <td> <input type="text" id="category_Nname"  name="category_name" value="${category.name}"></td>
                    </tr>
                    <tr>
                        <td><label  for="category_Nfile">分类图片</label></td>
                        <td>
                            <input type="file" id="category_Nfile"  name="category_file" accept="image/*">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center">
                            <button class="btn btn-success" type="submit" id="category_editbutton">提交</button>
                        </td>
                    </tr>

                </table>
            </form>
        </div>
    </div>
</div>
<%@include file="../../include/back/BackFooter.jsp"%>